//
//  AppDelegate.h
//  K-Music
//
//  Created by CHUN on 15/12/27.
//  Copyright © 2015年 CHUN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>


#import "ECDeviceHeaders.h"
#import "LoginViewController.h"
#import "MainViewController.h"
#import "DemoGlobalClass.h"
#import "AddressBookManager.h"
#import "CustomEmojiView.h"
#import "RONGL.h"
#import "MenuTB.h"



@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) UINavigationController *LoginNavi;

@property(nonatomic,strong)MenuTB * menu_TB;

- (void)initVC;

- (void)initLoginVC;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

+(AppDelegate*)shareInstance;
-(void)toast:(NSString*)message;


@property (strong, nonatomic) NSString *callid;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

@property (nonatomic, strong) LoginViewController *loginView;
@property (nonatomic, strong) MainViewController *mainView;
@property (nonatomic, strong) NSDateFormatter *dataformater;

@end

